package com.kws.merchant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.merchant.domain.OperationDevice;
import com.kws.merchant.domain.po.OperationDevicePo;
import com.kws.merchant.domain.vo.OperationDeviceVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 运维-设备台账(OperationDevice)表服务接口
 *
 * @author yxy
 * @since 2024-10-25 09:17:53
 */
public interface OperationDeviceService extends IService<OperationDevice> {

    /**
     * 分页查询列表
     */
    Page<OperationDeviceVo> pageList(OperationDevicePo operationDevicePo);

    /**
     *运维-设备台账导入
     * @param file
     * @return
     */
    Object uploadExcel(MultipartFile file);

    /**
     * 运维-设备台账导出
     * @return
     */
    Object exportExcel(HttpServletResponse response,OperationDevicePo operationDevicePo);

    /**
     * 运维-设备台账模板导出
     * @param response
     * @return
     */
    Object exportTemplate(HttpServletResponse response);
}
